home *** CD-ROM | disk | FTP | other *** search
/ Yellows - Privacy (Deluxe) / Akira Gomi Photographs - Yellows: Privacy (Deluxe) - Disc 1.iso / mono / n.dxr / 00064.ls < prev    next >
Encoding:
Text File  |  1996-07-06  |  1.1 KB  |  35 lines

  1. global foremovie
  2.  
  3. on startpictset
  4.   global startpictnum
  5.   if (startpictnum = 3) or (startpictnum = 4) then
  6.     set the castNum of sprite 3 to the number of member "003/004"
  7.   else
  8.     if (startpictnum = 5) or (startpictnum = 19) then
  9.       set the castNum of sprite 3 to the number of member "005/019"
  10.     else
  11.       if (startpictnum = 7) or (startpictnum = 17) or (startpictnum = 24) then
  12.         set the castNum of sprite 3 to the number of member "007/017/024"
  13.       else
  14.         if (startpictnum = 12) or (startpictnum = 18) then
  15.           set the castNum of sprite 3 to the number of member "012/018"
  16.         else
  17.           if (startpictnum = 21) or (startpictnum = 25) then
  18.             set the castNum of sprite 3 to the number of member "021/025"
  19.           else
  20.             set a to digitchange(startpictnum)
  21.             set the castNum of sprite 3 to the number of member a
  22.           end if
  23.         end if
  24.       end if
  25.     end if
  26.   end if
  27. end
  28.  
  29. on digitchange num
  30.   set a to num / 100
  31.   set b to (num - (100 * a)) / 10
  32.   set c to num - (100 * a) - (10 * b)
  33.   return a & b & c
  34. end
  35.